<?php
$this->load->view('common/header',
array(
  'title' =>'员工总结'
));
$this->load->view('common/sliderbar',
array(
  'menu'   => 'employee',
  'option' => 'summarylist'
));
 ?>
<link rel="stylesheet" href="../public/css/shop/shop_detail.css">
<style media="screen">
  h4{
    display: inline;
  }
</style>
<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<ul class="breadcrumb">
			<li>
				<a>员工总结 <i class="icon-double-angle-right"></i> </a>
        <div class="btn-group">
					<button data-toggle="dropdown" class="btn btn-success btn-sm dropdown-toggle">
						拓展部考勤统计表
						<i class="icon-angle-down icon-on-right"></i>
					</button>
					<ul class="dropdown-menu">
						<li>
							<a class="J_pinkey" href="/summary/summarylist">市场人员行程</a>
						</li>
						<li>
							<a class="J_pinkey" href="/summary/summarylist_t2">市场讲师监督表</a>
						</li>
						<li>
							<a class="J_pinkey" href="/summary/summarylist_t3">拓展部考勤统计表</a>
						</li>
					</ul>
				</div>
			</li>
		</ul>
	</div>
		<div style="padding-top:5px;padding-left:5px;">
			<form class="form-search" style="width:300px;display:block;float:left" action="/summary/summarylist_t3" post="get">
				<div class="input-group">
					<input type="text" class="form-control search-query" name="search" placeholder="请输入关键字" <?php if(!empty($_GET[ 'search'])){echo 'value="'.$_GET[ 'search']. '"';} ?> />
					<span class="input-group-btn">
          <input type="submit"  class="btn btn-info btn-sm" value="搜索">
					</span>
				</div>
			</form>
      <button class="btn btn-purple btn-sm no-border" id="summaryout_t3" style="margin-left:10px;">导出总结</button>
			<!-- <a href="/shop/shopexcel">导出所有店铺信息</a> -->
			<div style="float:right;display:inline-block;margin-right:20px;">
				<ul class="pagination" style="margin:0px;">
					<?php echo $this->pagination->create_links() ?>
				</ul>
			</div>
		</div>
		<div class="row">
			<div class="table-responsive">
				<table id="sample-table-1" class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
							<th class="center" style="min-width:80px;">员工</th>
							<th class="center" style="min-width:80px;">区域</th>
							<th class="center">工作内容</th>
							<!-- <th class="center">下店天数</th>
							<th class="center">出差天数</th>
							<th class="center">见终端客人</th>
							<th class="center">成交终端客人</th>
							<th class="center">终端销售业绩</th>
							<th class="center">收款业绩</th>
							<th class="center">出货业绩</th>
							<th class="center">考核过关人数</th>
							<th class="center">卖卡数量</th>
							<th class="center">会议铺垫</th> -->
							<th class="center" style="min-width:100px;">日期</th>
							<th class="center" style="min-width:120px;">详情</th>
						</tr>
					</thead>
					<tbody>
						<?php foreach ($summarylist as $summarylist): ?>
						<tr>
							<td class="J_emname center"><?php echo $summarylist['emname'] ?></td>
							<td class="J_emname center"><?php echo $summarylist['zone'] ?></td>
							<td class="J_content center"><?php echo $summarylist['content'] ?></td>
              <input type="hidden" class="J_outday" value="<?php echo $summarylist['outday'] ?>">
              <input type="hidden" class="J_runshop" value="<?php echo $summarylist['runshop'] ?>">
              <input type="hidden" class="J_meetcount" value="<?php echo $summarylist['meetcount'] ?>">
              <input type="hidden" class="J_shopinfocount" value="<?php echo $summarylist['shopinfocount'] ?>">
              <input type="hidden" class="J_bfshop" value="<?php echo $summarylist['bfshop'] ?>">
              <input type="hidden" class="J_ysshop" value="<?php echo $summarylist['ysshop'] ?>">
              <input type="hidden" class="J_ysgz" value="<?php echo $summarylist['ysgz'] ?>">
              <input type="hidden" class="J_czshop" value="<?php echo $summarylist['czshop'] ?>">
              <input type="hidden" class="J_czyj" value="<?php echo $summarylist['czyj'] ?>">
              <input type="hidden" class="J_shopinfo" value="<?php echo $summarylist['shopinfo'] ?>">
              <input type="hidden" class="J_newboss" value="<?php echo $summarylist['newboss'] ?>">
							<td class="J_addday center"><?php echo $summarylist['addday'] ?></td>
							<td class="center">
                <a href="#" class="summarydetail_t3">更多信息</a>
                <a data-id="<?php echo $summarylist['id'] ?>" href="javascript:;" class="updatesummary_t3">修改</a>
                <a data-id="<?php echo $summarylist['id'] ?>" href="javascript:;" class="deletesummary_t3">删除</a>
                <!-- <a data-id="" href="#" class="updatesummary">修改</a>
                <a data-id="" href="javascript:;" class="deletesummary">删除</a> -->
              </td>
            </tr>
						<?php endforeach; ?>
					</tbody>
				</table>
			</div>
		</div>
</div>
<script type="text/javascript" src="../public/js/summary/summary_mylist.js"></script>
<?php
$this->load->view('common/footer');
?>
